Update Directus SDK examples (support for extensions)#68
Open
kheiner wants to merge 35 commits intodirectus:mainfrom
Open
Update Directus SDK examples (support for extensions)#68kheiner wants to merge 35 commits intodirectus:mainfrom
kheiner wants to merge 35 commits intodirectus:mainfrom
Conversation
Changed 'data' type from array to object with properties for name, label, driver, and icon.
Added details explaining that oath is not available in Directus SDK and GraphQL. Fixes directus#42 This should also enable the REST endpoint to display.
Resolves directus#16 Add `type: object` to schema for: - Export Data to a File - Generate a Hash - Verify a Hash - Manually Sort Items in Collection
utils/hash/generate and utils/hash/verify contained a `.` at the end of summary which is inconsistent with the rest of the project.
Adds Schema reference as well as the applicable CRUD options. NOTE: I opted to clarify in filenames that they reference accessRules rather than trying to figure out how to pluralize accesses in a way that makes sense. Fixes directus#40
TODO: the SDK examples need to be revisited after the following issues are resolved in the monorepo directus/directus#27310 directus/directus#27311 directus/directus#27312
Revert has been around a while, looks like it was just missed in previous spec. Translations was added in v.11.17.x
An enhancement to directus#61 commit 2ac6094 : - Add more details to explain conditions that bypass might be necessary - Version updated, force is introduced in 8c4df17bb6463d0678bff985c161d1376b980325 but there's not a tagged release. 11.17.3 is at least closest active release right now.
Resolved conflicts by keeping POST method and application/zip responses (matching API implementation) over pr-26006's incorrect GET variants. Also fixed duplicate YAML key in oauth.yaml introduced by prior merge. Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
respecting 73b9821 intent
…distinct entries - restore singleton as it's own path with PATCH and GET only => I had to double up the ghost RTL character to make that happen (see directus#64) - fix request body schemas for updateItems and deleteItems (keys and query forms) - fix title casing
create ignore file for redocly to supress warnings regarding ping and health
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR assumes #66 is going to be merged, it made more sense to build from a branch that didn't need me to recreate fixes already made.
Adds Directus SDK code examples to the six extension endpoints that previously showed
// Not supported in Directus SDK.Changes
PATCH /extensions/{id}:updateExtension(id, data)DELETE /extensions/{id}:deleteExtension(id)GET /extensions/registry:readRegistryExtensions(query?)POST /extensions/registry/install:installRegistryExtension(id, version)POST /extensions/registry/reinstall:reinstallRegistryExtension(id)DELETE /extensions/registry/uninstall/{id}:uninstallRegistryExtension(id)Related
Companion to directus/directus#27310, directus/directus#27311, directus/directus#27312 will add these SDK commands to
@directus/sdkif merged.P.S. I can't put labels, but this is 'future release' or whatever equivalent is for pending review on the monorepo.